package com.example.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hello
 * @since 2024-07-03
 */
@Getter
@Setter
@TableName("order_user")
public class OrderUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "order_id")
    private String orderId;

    @TableField("user_id")
    private Integer userId;

    @TableField("restaurant_id")
    private Integer restaurantId;

    @TableField("amount_due")
    private BigDecimal amountDue;

    @TableField("amount_paid")
    private BigDecimal amountPaid;

    @TableField("is_round_off")
    private Boolean isRoundOff;

    @TableField("is_discounted")
    private Boolean isDiscounted;

    @TableField("order_time")
    private LocalDateTime orderTime;

    @TableField("ifdinein")
    private Boolean ifDinein;

    //user_own_id
    @TableField("user_own_id")
    private Integer userOwnId;
}
